import datetime


class LogPojo:
    def __init__(self, id=None, code=None, job=None, log=None, account=None, createTime=None):
        self.id = id
        self.code = code
        self.job = job
        self.log = log
        self.accout = account
        self.createTime = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
        if createTime is not None:
            self.createTime = createTime

    def __repr__(self):
        return repr((self.id, self.code, self.job, self.log, self.accout, self.createTime))



